﻿@model Barry.BarbeSystem.Models.LoginModel
@{
    ViewBag.Title = "Log in";
    Layout = "~/Views/Shared/_LayoutLogin.cshtml";
}
@using (Html.BeginForm(new { ReturnUrl = ViewBag.ReturnUrl }))
{
    @Html.AntiForgeryToken()
    @Html.ValidationSummary(true)
    <div class="notification information png_bg">
        <div>
            点击提交，登陆系统
        </div>
    </div>
    
    <p>
        <label>
            @Html.LabelFor(m => m.UserName)</label>
        @Html.TextBoxFor(m => m.UserName, new { @class = "text-input" })
        @Html.ValidationMessageFor(m => m.UserName)
    </p>
    <div class="clear">
    </div>
    <p>
        <label>
            @Html.LabelFor(m => m.Password)</label>
        @Html.PasswordFor(m => m.Password, new { @class = "text-input" })
        @Html.ValidationMessageFor(m => m.Password)
    </p>
    <div class="clear">
    </div>
    
    <p>
        <input type="submit" value="登陆" class="button">
    </p>
    
   
}
